package com.inspector.app.di.location;

import android.location.Location;
import android.os.Parcelable;


/**
 * 自定义Location对象，新增坐标系参数设置
 */
public class CustomLocation extends Location implements Parcelable {
    public CustomLocation(String provider) {
        super(provider);
    }

    public CustomLocation(Location l) {
        super(l);
    }

    private CustomCoordinateType coordinateType;

    public void setCoordinateType(CustomCoordinateType coordinateType) {
        this.coordinateType = coordinateType;
    }

    public CustomCoordinateType getCoordinateType() {
        return coordinateType;
    }
}
